package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName SmsConfigDo
 * @Description
 * @Author ibeeking
 * @Date 2020-12-09 10:54
 **/
@Data
@TableName("sms_config")
public class SmsConfigDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 短信供应商ID
     */
    @TableField(value = "sms_vendor_code")
    private String smsVendorCode;

    /**
     * 短信服务名称
     */
    @TableField(value = "name")
    private String name;

    /**
     *服务器地址
     */
    @TableField(value = "sms_host")
    private String smsHost;

    /**
     * 服务器端口
     */
    @TableField(value = "sms_port")
    private String smsPort;

    /**
     * 账号
     */
    @TableField(value = "user_name")
    private String userName;
    /**
     *密码
     */
    @TableField(value = "user_password")
    private String userPassword;
    /**
     * 是否缺省，0-不是，1-是
     */
    @TableField(value = "have_default")
    private Integer haveDefault;
    /**
     * 附加参数Json
     */
    @TableField(value = "other_info")
    private String otherInfo;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * 是否启用，1-启用，0-未启用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private Long createBy;

    @TableField("modify_time")
    private LocalDateTime modifyTime;

    @TableField("modify_by")
    private Long modifyBy;
}
